from sys import flags

import cv2
image=cv2.imread("C:\miao.jpg",1)
cv2.imshow("showimg",image)
cv2.imwrite("C:\miao.jpg",image)
cv2.waitKey()
cv2.destroyWindow()